package com.github.tangmonkmeat;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Scanner;

/**
 * Description:
 *
 * @author zwl
 * @version 1.0
 * @date 2021/8/2 上午10:21
 */
public class 字符替换和个数 {

    public static void main(String[] args){


        try {
            System.exit(0);
        }finally {
            System.out.println("sasa");
        }


        //try(Scanner sc = new Scanner(System.in)){
        //    String str = sc.nextLine();
        //    char A = sc.nextLine().charAt(0);
        //    char B = sc.nextLine().charAt(0);
        //    int count = 0;
        //    char[] arr = str.toCharArray();
        //    for(int i = 0;i < arr.length;i++){
        //        if(arr[i] == A){
        //            arr[i] = B;
        //            count++;
        //        }
        //    }
        //    System.out.println("Result String:" + new String(arr));
        //    System.out.println("A count:" + count);
        //}
    }

}
